package me.zhulu.spring.aop.aop3;

/**
 * Created with IntelliJ IDEA.
 * User: herosea
 * Date: 14-7-10
 * Time: 上午9:45
 * To change this template use File | Settings | File Templates.
 */

import org.springframework.stereotype.Component;

/**
 * 业务类
 *
 * @author yanbin
 *
 */
@Component
public class Business {

    /**
     * 切入点
     */
    public String delete(String obj) {
        System.out.println("==========调用切入点：" + obj + "说：你敢删除我！===========\n");
        return obj + "：瞄～";
    }

    public String add(String obj) {
        System.out.println("================这个方法不能被切。。。============== \n");
        return obj + "：瞄～ 嘿嘿！";
    }

    public String modify(String obj) {
        System.out.println("=================这个也设置加入切吧====================\n");
        return obj + "：瞄改瞄啊！";
    }

}
